Change handling of by-name folders

	modified:   connect.py