added support for centos