get location from env