2 scripts for gen a draft and to publish it