If you find very difficult to execute, you can use the early one before the job sequence, that is Batch job. in that you can execute the script and pass that as parameter also to the job.
you can do it in the job sequencer also, by using routine activity stage.