small tweak to let app dynamically config based on different settings