daemonizing now works