Minor bug fix
Changed location of temp dir