Generate restart script
Set SWIFT_USERHOME so scheduler submit scripts get created in run directory rather than $HOME/.globus