Replace T4 template with script-generated content