Change how to set the location.