Fixed gen.package.sh