for i in selection do ( addmodifier i (UVWunwrap()) i.modifiers[1].SetMapChannel 3 forcecompleteredraw() i.modifiers[1].flattenMapNoParams())