Use current working directory when output_dir is not given