misc maintenance and archive import