updated scripts, new script to run flagstats on bams