Automatic Recover feature

This is a way to do an automatic recover.