Connection in own function; granular exceptions handling (#1729)
Chris exercise conversion script (#1729)

Squirreling away here for good measure.