added /lib and events.txt for JSON