revert script