adding archive script