updated batchRunAnalysis