change static assets to true in production and precompile assets