Working on publish scripts