Changed json script to get rid of header warning bug