Add recovery image write command.