replaced hard-coded proxy url with proxy_url