copy connect setup from protractor repo