Adding a setting for sleep_time