set the temp_path (old method?)