removed obsolete code in event generator script