if statement changed to affirmative for command recognition.