add script to generate daily json