Fixed loading from index

Also fixed urls for local testing.