Add a publish script.