OFF and ON commands now working