fully functioning install script now