Updated batchAnalysis