Updated package.pl script