more extensive centos shell script