Added script function

I added the script function and script function builder. 
sure. I just added those 2 params.