now with publishing to pages working