Scripts to do data analysis