Add script for document generation.