Fixed the init script so that the embedded Mongoose server runs properly