Flip entity command

I recently have visited a server which had a command to flip entities (make them stand up straight in the right position if they fall to the side)
Now i wanted to ask if anyone here knows what this small addon is called