updated publish scripts