Various data analysis-related scripts