added temp directory configuration