fix theme config so that it works in console commands