json database script and readme edited