Script revert