Scripts for preparing the analysis.