Now properly working as a daemon.