Correction to flash_device.sh