[Core] Updating GM On/Off Command
The function now uses argstr == "on" & argstr == "off" now.