filled the codebook and added script logic in the readme files
updated readme with script logic