Moved mapping and formatting scripts out to bundle.