Fixing mongodb call, preparing to deploy to OpenShift