Make setting attributes for meshes more dynamic