Updated the remapping tool to work with the batch processing.