Major updates to locations.py. Integration for script.