Changed the suspend method to enable non-root users (script) to suspend the machine.