Cleaned up the example.
Using the correct command namespace when checking if command exists.