restore predict_richness.sh file