updated for CentOS6