updated for centos and nubic package