Allow for greater flexibility in setting culr parameters by passing in an array.