added generation of context files in index_new_bs