Fixed script.
Added some some parameters.