#3 updating setup scripts and daemon code