Fixes problems during installation.