Refactoring/fixes to the mirror archive directory.