added centos version check for > 6