Add events for run.file and run.project