Fix name of daemon function