Untested fixes to the knitr file