fixed install script
fixes for install script