added non-simple command parsing to read-command