supporting custom configurations for freemarker