Change sleep to timeToRun - missed it last time.