Added always_sleep option