Fix ingestion doc id references in scripts