Adds publish script.