bugfix : was letting flagged CRs leak through by leaving out the resetbits parameter.
Better checking of refimage file/link existence before proceeding.