adding scripts for json