Fixed mongo startup and initialization in production