Incorporated changes in names in patterncoordinator.py from ImaGen