modification to run_analysis fixing a type and adding html for readme