I feel dumb. This fixes daemonizing