Need common.R to load XML library and define special environment