Fixed bugs, seperated config files between centos and precise