html_dir renamed to out_dir