fix archiver script