Wrapper for generating PROV provenance information for commands and python scripts