added support for centos agent machine