publish script