add root override from config
add test for root override