update batch_analysis.sh