Thanks so much @ChrsMark for taking the time to reply.
This is exactly the help I needed, it looks like the script_processor will do the job.
Have a great day, I'll update this thread with the solution once I have it sorted on the off chance it helps someone else.