added flag for mongourl