Revise script to identify invalid pull locations.