Adding the analysis script