The answer given was very helpful, however an easier way to turn on and off is buy just using the 'Stop If True' checkbox.