Add automatic version number. Shell script improvements.
Add automatic version number. Shell script improvements.