core script generation SAD added