Modified the TMPFILE so it is created in global /tmp/ instead of a local directory