Modify text generator