change how theme name is determined