preview the template dynamically on setup
change class types for template previews