modified centos script