added index location for scripts at the bottom