WIP scripted entity framework