Adding flags to the daemon