WIP: move plugin injection to index file filter