Changes to daemonize