Added global variables and JSON data.