Install script more robust.