add keymap and options