Adding back check for folder name in page title before going to bayes.