Changes to Generate text

post/tools/generate_text