Corrected calling of ->execute() on a function which requires parameters.
Merge pull request #27 from Danack/InvokeFunction

Corrected calling of ->execute() on a function which requires parameters.