Script to deal with problems found when migrating a wordpress blog.