Baby has been moving for hours

39 weeks today and she started moving around 11pm and it’s 5am and she keeps waking me up every hour moving! Is this normal? Why is she so active? I’ve been getting on and off contractions while she’s moving, and sudden leg pain