Removing commandkey and command strings from the arguments