better archive script