Fix Connection to actually work.
Incorporate output range consolidateion code