Script for analyzing and creating the graphs for the article