Safety delete IMT CMD prior to writing new file.  Cleanup testcase7 and RestsAnalysis added.
updated docs to 4.6