Added some mods and corrected some errors.