Command detection and reading working.