setting appropriate scope for packages to package::$package