adding dedup script