added preferences and keymaps