update to gen. package script