A script to repair broken mappings.  Use with extreme caution.