Add a script that replaces corrupted objects with good ones from 'origin'