oops... remove old code from daemon.js