Added sleep timer to work on boot