Installation script improved