Modified hardcoded eventname id to user defined