generalized names.py to take advantage of the new structure of names.txt; check it out