Now take config from XML (v.s. hard-coding)