Fixed errors in iniPackage.sh and package.sh