Shellscript changes.

Shorter syntax
4 spaces of indentation
overrideable "CONFIG_FILE" variable
consistently use $(), not backticks
minor tweaks
Merge pull request #1 from xicesky/master

Shellscript changes.