added small dup removal script