added support for other OSs like centos