Added main sync script, newjson, grabx.phps