swapped out example code and put in quickfix for index file

@johnnyman727 please review and merge asap so that the example code is right for the FRE