Modifying the Resources so that they are injected