made some updates to the data analysis script and such