Add highlighting for script components

The changes here enable highlighting on script components.