changed basin delin script: use basindir and datadir passed from json; and, hack the kml files to change color