parse for commands