Changes to use wordpress plgin egg.