Switch URL to env var