removed unused module import line
remove duplicated logger
make on command line options higher priority over options from config files