added check for keymap binary