Fix calling logic (inverted calls!)
Fix the bam.index calls
Fix a misplaced indent