added a script to convert events from old style to new style