Adds publish script