added daemonize and central config