Preliminary parsing of commands