* Allow setting an environment variable to override localhost. * code review feedback, and fix a model --------- Co-authored-by: burnettk <burnettk@users.noreply.github.com>