Add a source attribute to the output file.
the usual trivial changes