add archive script