Enriched script generation