run script with parameters.