Fix to loop scripts until they are shut off.