either way will work. I have used my other method several times in other plugins and worked but for some reason this exact part right here hates me. Maybe the model setting method has changed since I made my last plugins... I'll try with entity_set_model