Moved conditional sleep method, depracted Script#sleep(SleepCondition,
int)