Made code daemonize.