Change ClientConfig to XML