updated to accomodate default .nii.gz format