added daemon.js