script fix and adding code book

1. Changing in script to fix column names
2. Adding Code Book