Issue #151: added updategraf script, and code to call it from commit script