Making the PackageStates file working