updated config and logging