Issues in automatic provenance collection