Setting Materials with a String

seems to be working now, but i’m not sure