added uniq to sort output for dumpfile