First working example
Puts the script in a separate file