Upgrade the package and Fixed script