Add archive script. close #7