cleaning up the bam utilities