More build script fixes for archiving items.