ingestion script update