added scripts to process json data