If it's something where you actually need two different scripts to run, where you can't get one script to do everything, you might as well have your own account manager that listens for changes on a database to tell the account manager when to run X script or Y script.