fMR data analysis scripts