converted to use new config/enginevars classes