copy ingest code into v2 tree