better geolocation script, removed nearest posts useless to implement it