Only set MX_ROOT from attribute if not already set