ImageRestorer Before using this script, you must create an image of the flash drive, the image of which will be restored. I recommend the program usb-image-tool. The raw_file variable must be named as the image of your flash drive.