add debug messages for template paths in THEMES