add script and codebook