add the mongodb host to flags

add the mongodb host to flags