added the removal of the appropriate images while doing the subtraction on
the subtraction page.