Adding deduplicate shell script