Rename $target to $params