added ENV variable for DOMAIN_BASE