Fix to load styles and images