Complex sentence: Heavy wartime use meant that the rails needed to be repaired, and competition from other forms of transportation required modernization.
Split into simpler sentences: Heavy wartime use meant that the rails needed to be repaired. Competition from other forms of transportation required modernization.