add run_analysis script