Added poweroff for M1