allows for saving residuals image from dr stage 2