version 2.0

improved the packaging logic