Setup resource injection to automagically include resources in the index file