revert index->scripts
and created new index