Added a script showing usage of global function in python