Refactoring command
Parsing "command" option