changes for new versin of CWRC-Writer