porting current utils.py over into san fran example

want to keep everything running on the same code, if at all possible

branch name new-units-updates was a typo should have been new-utils-updates