Updates for compatability with latest OBT-Stat.
Refactored Globals.run_shell_command to take named options parameters.