added public flag for post note (-p)