The script for performing the analysis