adding connect script