constructing and running
	similar to web document connect.html