Pruned un-needed variables, dependencies from daemon script