Added media indexing