Fork http://www.evekb.org/forum/viewtopic.php?t=18529