removed old index
renamed rewrite to index