Updated daemon calling script