Execution of documents: getting it right