changes to enable application in production mode