error checks, RepeatSweep modified and put inside Execute to handle process flow better when errors occur