added sudo for pmset command