updated theming, implemented setcfact