Needed to clear the CMD[] array better.