scripting

How to apply a script? I have a script to construct a polymer but I don't know how to run it.
Can anyone help me with that?

cheers,