changed temp directory to a local directory