refactor for #34: move command-line flags out of Scaffold