added log level from env
added regmode into settings
added tau scan