changed application.rb for lazy compile