changes to enable publishing post