FIX preinstall script