Fixes in production.rb