Corrected revert all script.