Move event specific stuff to config