Add run script and gitignore output files.
Fix function naming