Added scripting for components.