Replace generated content