allows toggle to activate or deactivate the macro