with dedup script