Update package.sh to cope with name prefix