Updated to support centos 7