add option to generate a singleton bundle
(cherry picked from commit 5535ec5)
Pull request #27
Issue #31
Implementing the singleton option #31, pull request #27