Demonstration of beforescriptexecute and afterscriptexecute.

Output