worked on exports and events and autocmakeconfig