move url to env var