Added ability to handle CentOS/RHEL systems.