Fixed bug relating to commands with slashes in the names.