Update CodeBook and small edit to script