apply archive