setup script for connector