Cleaned up conect.py