Added scripts to generates event files and updated pipeline.sh