Useful AppleScript for shutdown/reboot module