Modifications to the code text generator