make server script, daemonize