script4 and indexd3 updated