Update analyze_flatSamp.sh