Reset added_docs in legacy script