Remove duplicates from bin script