Update notes for submitted changes

* Replace tempfile with mktemp