put the publish to generate code button