moved creation of the entities with scripts