put actions up to GoToSleep into new format