TMI - sorry!

Sooo, I'm 38 weeks. Within the past week I have no longer been constipated but every time I go to the bathroom now my stool is green. Can anyone tell me why?