Per below, let's use the version that takes connection params as args instead of global variables.