add script for duplicate ip detection