script api now contents all components. Access to them in script is now from api.