Second review

Fixed issues in codebook and run_analysis script