added gemfile lock for heroku
moved script
removed loop