Script and code book