missing equal sign
check if html/ folder exists before generating html file
reduce thread number to 10