Generate a correctly punctuated version of the following text: But President Nasser had not closed the canal only nationalized it
But President Nasser had not closed the canal, only nationalized it.