add a helper function for location indexing
reuse location configstrings by index instead of sending duplicate configstrings
Merge remote-tracking branch 'upstream/master'