completed codebook, added library import in script