add ability to daemonize