Add RunAnalyze() and Test.RunAnalyze() functions. Updated to generate .txt instead of .csv