added index to the model dir