script version.
Upto reconstruction of sequential version.