added support for external configuration in the theme