changes to archive processing scripts