Added mongodb script to check duplicates