added -y to revert command