One exercise that work well for me was the hang prone with ankle weights. Lie face down on a table or bed with the leg hanging off the edge and let your leg sag down, while doing this have your PT, family member or whomever massage your hamstrings during this exercise.