change connect.py