Updated archive script.