added script and component.json