Script and style parsing