validated connect.sh - works