changed package resource to ensure_packages()