Adding revert snapshot script.