create-diff-object: allow new data to be included

Allow the inclusion of new global variables.