Moved environment module loading into a function in Helpers.pm. is_bam_paired_end now load samtools