Changes to build key archive