BUG: Updated BRAINSTools for template.py and singleSession.py