don't silently override app config with hardwired default
remove unused loop