minor changes to event generation script; removed comment