Add duplex and config on the client side