Archive update

I added the code from @crochefort for #49