Add import of cw_errors module to cw_save, cw_publish