added style/script grouping