Use :command! instead of :command.

:command reports an error if the command already exists.