single var statement for each package and improved archive format