Characterization of injection and confinement improvement through impurity induced profile modifications on the Wendelstein 7-X stellarator