removed knit2html() function and figures dir