worked on kana.el so it runs on the command line