added parameters to script