Remove use of /tmp as temporary directory; all scripts now write temp files to output directories.
Merge branch 'dev' into dev-lmax