Example scripts are available:

Download scripts