Add automatic temp dirs.