scripts storage and indexing