Add lua and script component.