Added local check to index_dev