Changing mesh.userdata to mesh.metadata