Pretty much finished the archive script