added load func for custom theme