more fixes on installation script