Update the sleep script