added xpkg web function