hamstring strength

I have recently injured my hamstring and i was not able to do any lower body weight lifting. I noticed my hamstrings were much weaker than before. I am getting back into running now and since your hamstring is the main muscle used in sprinting, i was wondering if i strengthen my hamstring alot if it will increase my speed alot?