simplified and more robust (for example: '7z e' is a valid command now