added support for centos agent machines