Important fixes fro running model2roms on super computer