Update archive script for new feactoring