This is a code template (it's commented out now).
To run it you have to uncomment appropriate lines of code and define some important settings.

Lean here how to do it.