updated install script and deamon