changes for production mode (lazy asset precompilation)