replace disk image script