The hatools were written by Markus Winand <mws@fatalmind.com>
