Updating package name for RedHat hosts and simplifying variable names