Use TMP instead of CWD as output directory