changes to check for the load index

changes to check for the load index - will throw a runtime if the load
index isn’t available