start of digest and ingest script