Added region awareness to settempurlkey