adding publish script