To accomplish this, we used the Artifact Rejection Toolbox (ART; http://www.nitrc.org/projects/artifact_detect/) to create confound regressors for motion parameters (3 translation and 3 rotation parameters), and additional confound regressors for specific image frames with outliers based on brain activation and head movement.