need to use $TMPDIR else run out of root disk possibly