add possibility to define destination in client config