Modified Connection manager..............