Scripts to create data files for aftershock