added data analysis scripts