Make SLEEP_DELAY a variable