Does anyone include standard squats and smith machine squats in there workouts?

I tried squats on the smith machine last week and the usual muscle aches are more intense in my thighs. After normal squats I tend to ache in my hamstrings.

If I was to include both techniques would it give me a better upper leg workout?