script works, json genrated