Adding common recovery script