make recovery script