parse commands separately