added recovery flashing