correct the setup.py for proper regex replacement and add logfile in daemon mode
make utf8 a keyword