Script evaluation tree