The way I would do it (not tested yet, been busy) is by letting the script start and then use the stop function automatically. For the sync part, making the scripts resume when a specific callback is pressed, like the master arm on button. But if you do this, fence in has to be asked by the lead package only, or at a specific and precise given time. But like I said, not tested, maybe hard do make happen this way