Revert script