Do you want the script to run on the same host that just finished the frame, or could it run on the supervisor via a callback?
If you're eligible for software support, please submit a ticket regarding this question to support@pipelinefx.com. We give priority to questions through our helpdesk.