Allow function calls via a script expression.
Merge pull request #812 from nex3/call_function

Call function