added script for generating lists of unique terms