Fixed deamon example