Changes to get it to start in production mode