Will now write individual entities to scene as reference, when possible