updated package.sh to provide more control over builds