Fix wrong comment.
A case statement *always* requires a default section.

refs #97
Use a variable for the config file name.
Allow to choose between downloading or using a local tarball.

refs #97
Fix bug introduced when merging DB code.

introduced in commit:a484bbc42b691621c1a6424e39c7233791efc24e
refs #97
Use "errexit" option to prevent continuing with unexpected behaviour.

refs #97