adds logging option, but it is commented. also config options