reefactored the name cleaning section of runner.rb