improvements to BF knitr search