Revised locator script

Script now makes use of lists. Will revise soon to use JSON format as
well.