Improve the binding of the script engine