Added sleeping between on/off commands