cleaned up AutomatedRun