Added import to change temp_directory