Fixes to the PAK utility.