Restore convert command after botched refactoring