added uniq_safe.sh script