How to use material

Here is an example how to use the script