implement install script
complete install script