Setup index to make use of erb