Added a basic on off to the api