Changed the if to now include clock and command as well as key number output.