add support for mongoURL