CentOS support modified

Since CentOS 6 (tested) does not have the word centos in it on a default setup, I've modified the approach; now it will use /etc/redhat-release since this would contain any of the redhat systems. I've left the word as centos, but this could be changed to reflect something more generic.