Restore previous rights, correct loadConfig() method