add option to save html dir (debug html to pdf)