fix gorm for script entities

GormTool has troubles working with pure scripts, fixed
using a spring post processor