add INTERNAL_RESOURCE_HOST constant