clean up the setup and minute-ly checks in the loop