adding scripts to json