Revert archive.
Update archive script.

Works for macosx and ubuntu.