code cleanup: Separate functions from main()
Undo "echo $ISODATE", $ISODATE is a command.

Bug was introduced in previous rev.
save copy of OS version.
Make this script able to be run from another dir.

Track dirname $0 so that we invoke the other programs with
the correct path.
Add /usr/local/bin to PATH for python.

This is a hack, but eases deployment.
Handle when python or scripts aren't available.

Log when this happens and give useful information.
Linewrap BSD license