That's why we need to move the 'copy' functionality in check_niimgs.