Use package_environment in place of default_environment