script to check if there are duplicates in EOS