add use_client_connect, support for client-connect script