script to generate a new set of mapping files