check that some variables are defined before using them
require variables
removed incorrect "fontify"- syntax