add flags to mongodb configuration process