started adding support for both CentOS 6 and 7 (though 6 isn't tested yet)