Completed transition from old pyodbc based code