Enhanced mkpkg-script to generate URL and MD5