Updates to the script and fancy new json.