Updated app lookup to use new index