updated config handling for client