script revert