Updated params to support both Ubuntu and RedHat releases.