Updated the actual document generation tool in the tools directory