updates to hklgen