Final version of run_analysis to tidy and export