Housecleaning in offline docs scripts