switched main.rb to production mode