Added custom theme functionality