sample conf added + daemon mode improved