Changes for migrating to new mac
added kwh.el elisp funcion