Fixed geocode script