you can use a script parameter to act as a stop sw...
# suitescript
s
you can use a script parameter to act as a stop switch. have the script code exit when that parameter is set