Adding recovery script