Added key command recognition, should work for now