setup evaluator before calling initialize_all_templates