added sudo flag to setting sleep settings

* no longer asks for password again