fix:load extention config and add generate option  html code