fixed install script to actually work