Added error handling for python script, as well as for the daemon.