Added a function to load properly a theme