Little things for DB connecting and CUPE saving