adding final versions of daemon and python script