update theme checker to handle multiple themes.