Adding revert command