Merge pull request #93 from smuzaffar/V00-22-XX

--tag option and fix for subpackages
backport changes from V00-23-XX