Fix ingestion document ID references in scripts