removes a bunch of stuff from spec_command