add publish script