Miscellaneous scripts for analysis of structural MRI