updated for centos7
centos6