adding support to custom themes