fixed script so deamon does not get started every 30 min