Use db and collection names from arguments