added location fixup script