Modified to fit centos but this change is temporary.