updates collect_and_select.rb and .gitignore