adding publish script.