Use env variable for api host