more fixes to installation script