Added ".bam" ending to index
Added use of dynamic configuration files to facilitate for different users and distribution across clusters