support for v2 packages