Adjust the script to pull out the location of the lookup.