Adding python config for event selections