Add an event name option in the config file

Fixes #1