added provenance capture to preparation trigger