Modified flasher script