Adding automatic mp_lib to events