add missing pieces to production.rb