Add tmp directory setting