38 weeks and achy legs?

I’m 38 weeks 1 day and the last two days I’ve been loosing my mucus plug. Today I woke up to really achy legs as if I had been exercising and over did it. I’ve never experienced this with my first. Did anyone ever have this? What did it mean?