fixed not working sudo shutdown commands and extended Windows commands for suspend and hibernate