production.rb modified for images