Changed checking installed modules, etc.