Rename `script` component to `agent`