Corrected scanner for errors
Updated XML files