fMR analysis scripts