reorganized script and style references