Added code to grab the geolocation.