This arg list is getting a bit unwieldy. Would be good to be able to gather this info from some common bag of state, rather than have to parameterize it from both apps.