Handle variable context root