Modify production.rb to solve immage loading