A fork from http://code.google.com/p/avt-mote/