Code for resting-state fMRI pilot study