It sounds like your body is eliminating in preparation for labour.

My waters broke and I went into labour at 37w5d - anything over 37 weeks is full term so it sounds right from a timing perspective.

Good luck - I hope it all goes well