Restructuring of styles and scripts