Add option for mongodb url as well