Add option to pass the mongourl string