trying to update json
tweak main
fixing JSON loading
test script