added index script