Changed to read csv and added codebook