Added gateToggle command