added client config reading