Changed the generated doc script