Updated for precompile on Heroku