Merge pull request #267 from mikedewar/master

make pack work