connect script