Changed control to use a run and log method