adding output to tmp directory