script to index geolocation