add "post to public" hack from @jrobb for cli scripts