add location variable to url