added script to fetch json