further changes to write_seismograms