fixed cleanup CLI bugs, added MC TR command to commands.py