Merge pull request #1 from jamesbennet/master

update from upstram
better logging
Merge pull request #16 from super-nathan/master

merged addition of better logging to fix the package selection