Added OS temp_dir as a default value