Refactored the Revisions Command to make it cleaner.