script actor api