installation script for daemon