updated the mongo repo wrapper to pull values from the environment