Changed parameters for mongodb.
Minor changes.