Now reads commands correctly.