modify connect.py connect2.py