Config now in XML file instead of hardcoded.