implement change to clone procedure.
script for updating the index.
some more edits.