a script for exporting events without cmd line args