added a script to handle key mapping, it is not completed