Modify keymap running python scripts

Signed-off-by: Qian Lei <qianlei90@gmail.com>