updated how client configuration is setup, which improves logging.