Сreate improved installation routine