updated script and codebook file