changes to GetNames.py and getLinks.py