add perl hash magic
fix integer format widths
Add missing specifiers for %h?