added centos 7 support