move host_url into an env variable