Added data provenance functionality to packaging.py