Parser works, logic in make_command_stream does NOT work